package com.ruicar.afs.cloud.common.modules.afscorebusiness.enums;

import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;
import lombok.Getter;

/**
 * @author jiaqi.guo
 * @version 1.0
 * @description: 流程类型
 * @created 2020/6/11 10:35
 */
@Getter
public enum ProcessTypeEnum implements WorkflowTypeEnum {
    /**
     * 常规审批
     **/
    @AfsEnum(key = "generaApprove", desc = "常规审批")
    GENERA_APPROVE("generaApprove", "常规审批"),
    /**
     * 资产变更
     **/
    @AfsEnum(key = "changeAssets", desc = "资产变更")
    CHANGE_ASSETS("changeAssets", "资产变更"),
    /**
     * 复议申请
     **/
    @AfsEnum(key = "reconsiderApply", desc = "复议申请")
    RECONSIDER_APPLY("reconsiderApply", "复议申请"),
    /**
     * 正式复议
     **/
    @AfsEnum(key = "formalReview", desc = "正式复议")
    FORMAL_REVIEW("formalReview", "正式复议"),
    /**
     * 车辆库存超期
     **/
    @AfsEnum(key = "inventoriesAre", desc = "车辆库存超期")
    INVENTORIES_ARE("inventoriesAre", "车辆库存超期"),
    /**
     * 二次欺诈调查
     **/
    @AfsEnum(key = "secondaryFraud", desc = "二次欺诈调查")
    SECONDARY_FRAUD("secondaryFraud", "二次欺诈调查");

    ProcessTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private String code;
    private String desc;
}
